package org.cerberus.platform.client.swing.bind;

import java.awt.Component;

import org.cerberus.platform.client.ClientAttribute;
import org.cerberus.platform.client.ClientEvent;
import org.cerberus.platform.client.ClientResource;

public class SwingBinding {

	public static String getDefaultAttribute(Component c) {
		return "";
	}
	
	public static void bind(Component c, String targetAttribute, ClientAttribute<? extends Object> attribute) {
		
	}
	
	public static void bind(Component c, ClientAttribute<? extends Object> attribute) {
		bind(c, getDefaultAttribute(c), attribute);
	}
	
	public static void bind(Component c, String targetAttribute, ClientResource attribute) {
	}
	
	public static void bind(Component c, ClientResource attribute) {
		bind(c, getDefaultAttribute(c), attribute);
	}
	
	public static void bind(Component c, String targetAttribute, ClientEvent event) {
	}
	
	public static void bind(Component c, ClientEvent event) {
		bind(c, getDefaultAttribute(c), event);
	}
	
	public static void removeBindings(Component c) {
	}
	
}
